package com.github.catvod.spider.merge;

import java.util.HashMap;
import java.util.Map;

public class iP implements Cloneable {
  private static final String[] BQ;
  
  private static final String[] I;
  
  private static final String[] V0;
  
  private static final String[] W;
  
  private static final Map<String, iP> h = new HashMap<String, iP>();
  
  private static final String[] j;
  
  private static final String[] oC;
  
  private static final String[] q;
  
  private boolean F8 = true;
  
  private String Qy;
  
  private boolean i4 = false;
  
  private boolean iU = false;
  
  private boolean n = false;
  
  private boolean oq = true;
  
  private boolean t = false;
  
  private String u;
  
  private boolean y = false;
  
  static {
    null = new String[64];
    byte b2 = 0;
    null[0] = "html";
    null[1] = "head";
    null[2] = "body";
    null[3] = "frameset";
    null[4] = "script";
    null[5] = "noscript";
    null[6] = "style";
    null[7] = "meta";
    null[8] = "link";
    null[9] = "title";
    null[10] = "frame";
    null[11] = "noframes";
    null[12] = "section";
    null[13] = "nav";
    null[14] = "aside";
    null[15] = "hgroup";
    null[16] = "header";
    null[17] = "footer";
    null[18] = "p";
    null[19] = "h1";
    null[20] = "h2";
    null[21] = "h3";
    null[22] = "h4";
    null[23] = "h5";
    null[24] = "h6";
    null[25] = "ul";
    null[26] = "ol";
    null[27] = "pre";
    null[28] = "div";
    null[29] = "blockquote";
    null[30] = "hr";
    null[31] = "address";
    null[32] = "figure";
    null[33] = "figcaption";
    null[34] = "form";
    null[35] = "fieldset";
    null[36] = "ins";
    null[37] = "del";
    null[38] = "dl";
    null[39] = "dt";
    null[40] = "dd";
    null[41] = "li";
    null[42] = "table";
    null[43] = "caption";
    null[44] = "thead";
    null[45] = "tfoot";
    null[46] = "tbody";
    null[47] = "colgroup";
    null[48] = "col";
    null[49] = "tr";
    null[50] = "th";
    null[51] = "td";
    null[52] = "video";
    null[53] = "audio";
    null[54] = "canvas";
    null[55] = "details";
    null[56] = "menu";
    null[57] = "plaintext";
    null[58] = "template";
    null[59] = "article";
    null[60] = "main";
    null[61] = "svg";
    null[62] = "math";
    null[63] = "center";
    V0 = null;
    j = new String[] { 
        "object", "base", "font", "tt", "i", "b", "u", "big", "small", "em", 
        "strong", "dfn", "code", "samp", "kbd", "var", "cite", "abbr", "time", "acronym", 
        "mark", "ruby", "rt", "rp", "a", "img", "br", "wbr", "map", "q", 
        "sub", "sup", "bdo", "iframe", "embed", "span", "input", "select", "textarea", "label", 
        "button", "optgroup", "option", "legend", "datalist", "keygen", "output", "progress", "meter", "area", 
        "param", "source", "track", "summary", "command", "device", "area", "basefont", "bgsound", "menuitem", 
        "param", "source", "track", "data", "bdi", "s" };
    q = new String[] { 
        "meta", "link", "base", "frame", "img", "br", "wbr", "embed", "hr", "input", 
        "keygen", "col", "command", "device", "area", "basefont", "bgsound", "menuitem", "param", "source", 
        "track" };
    I = new String[] { 
        "title", "a", "p", "h1", "h2", "h3", "h4", "h5", "h6", "pre", 
        "address", "li", "th", "td", "script", "style", "ins", "del", "s" };
    oC = new String[] { "pre", "plaintext", "title", "textarea" };
    BQ = new String[] { "button", "fieldset", "input", "keygen", "object", "output", "select", "textarea" };
    W = new String[] { "input", "keygen", "object", "select", "textarea" };
    null = null.length;
    for (null = 0; null < null; null++)
      F8(new iP(null[null])); 
    String[] arrayOfString2 = j;
    null = arrayOfString2.length;
    for (null = 0; null < null; null++) {
      iP iP1 = new iP(arrayOfString2[null]);
      iP1.oq = false;
      iP1.F8 = false;
      F8(iP1);
    } 
    for (String str : q) {
      iP iP1 = h.get(str);
      R2.u(iP1);
      iP1.t = true;
    } 
    for (String str : I) {
      iP iP1 = h.get(str);
      R2.u(iP1);
      iP1.F8 = false;
    } 
    for (String str : oC) {
      iP iP1 = h.get(str);
      R2.u(iP1);
      iP1.iU = true;
    } 
    for (String str : BQ) {
      iP iP1 = h.get(str);
      R2.u(iP1);
      iP1.i4 = true;
    } 
    String[] arrayOfString1 = W;
    int i = arrayOfString1.length;
    for (byte b1 = b2; b1 < i; b1++) {
      String str = arrayOfString1[b1];
      iP iP1 = h.get(str);
      R2.u(iP1);
      iP1.y = true;
    } 
  }
  
  private iP(String paramString) {
    this.u = paramString;
    this.Qy = AR.h(paramString);
  }
  
  private static void F8(iP paramiP) {
    h.put(paramiP.u, paramiP);
  }
  
  public static iP iU(String paramString, Qg paramQg) {
    R2.u(paramString);
    Map<String, iP> map = h;
    iP iP2 = map.get(paramString);
    iP iP1 = iP2;
    if (iP2 == null) {
      paramString = paramQg.j(paramString);
      R2.BQ(paramString);
      String str = AR.h(paramString);
      iP1 = map.get(str);
      if (iP1 == null) {
        iP1 = new iP(paramString);
        iP1.oq = false;
      } else if (paramQg.I() && !paramString.equals(str)) {
        iP1 = iP1.h();
        iP1.u = paramString;
      } 
    } 
    return iP1;
  }
  
  public static iP n(String paramString) {
    return iU(paramString, Qg.V0);
  }
  
  public boolean BQ() {
    return this.oq ^ true;
  }
  
  public boolean I() {
    return this.t;
  }
  
  public String Qy() {
    return this.Qy;
  }
  
  public boolean V0() {
    return this.F8;
  }
  
  public boolean W() {
    return h.containsKey(this.u);
  }
  
  public boolean equals(Object paramObject) {
    boolean bool = true;
    if (this == paramObject)
      return true; 
    if (!(paramObject instanceof iP))
      return false; 
    paramObject = paramObject;
    if (!this.u.equals(((iP)paramObject).u))
      return false; 
    if (this.t != ((iP)paramObject).t)
      return false; 
    if (this.F8 != ((iP)paramObject).F8)
      return false; 
    if (this.oq != ((iP)paramObject).oq)
      return false; 
    if (this.iU != ((iP)paramObject).iU)
      return false; 
    if (this.n != ((iP)paramObject).n)
      return false; 
    if (this.i4 != ((iP)paramObject).i4)
      return false; 
    if (this.y != ((iP)paramObject).y)
      bool = false; 
    return bool;
  }
  
  protected iP h() {
    try {
      return (iP)super.clone();
    } catch (CloneNotSupportedException cloneNotSupportedException) {
      throw new RuntimeException(cloneNotSupportedException);
    } 
  }
  
  public int hashCode() {
    return ((((((this.u.hashCode() * 31 + this.oq) * 31 + this.F8) * 31 + this.t) * 31 + this.n) * 31 + this.iU) * 31 + this.i4) * 31 + this.y;
  }
  
  public String j() {
    return this.u;
  }
  
  public boolean oC() {
    return this.i4;
  }
  
  public boolean oq() {
    return this.iU;
  }
  
  public boolean q() {
    return this.oq;
  }
  
  iP t() {
    this.n = true;
    return this;
  }
  
  public String toString() {
    return this.u;
  }
  
  public boolean u() {
    return (this.t || this.n);
  }
}


/* Location:              /Users/hetaiyi/Desktop/my/tech/java/study/aa/temp/temp.jar!/com/github/catvod/spider/merge/iP.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */